package String;

public class cc {
    public static void main(String[] args) {
        String[] cc = "ccc-aaa".split("-");
        System.out.println(cc.length);
    }
}
